#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
    double n = 0.0;
    scanf("%lf", &n);
    printf("%d", (int)(n + 0.5));
}